"""

open(filename,)

r       只读模式打开文件，
rb      以二进制格式打开文件，只读，用于非文本文件，图片或者声音
r+      读写

w       只写模式

a       以追加模式打开一个文件




========= ===============================================================
    Character Meaning
    --------- ---------------------------------------------------------------
    'r'       open for reading (default)
    'w'       open for writing, truncating the file first
    'x'       create a new file and open it for writing
    'a'       open for writing, appending to the end of the file if it exists
    'b'       binary mode
    't'       text mode (default)
    '+'       open a disk file for updating (reading and writing)
    'U'       universal newline mode (deprecated)
========= ===============================================================
"""
import os

tuples = os.walk("/Users/liangbo/PycharmProjects/untitled")

print(tuples)
print(type(tuples))

for t1 in tuples:
    print(t1)
